package com.hanqi.dao;

import com.hanqi.entity.SysFuncs;
import com.hanqi.entity.SysMenuFunc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjk
 * @since 2019-04-27
 */
public interface SysMenuFuncMapper extends BaseMapper<SysMenuFunc> {

    List<String> listFuncPermissionsByUserId(String userId);

    List<String> listAllPermissions();

    List<SysFuncs> ListByMenuId(String menuId);
}
